<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<css file="__TEMPLATE__/css/page.css" />
		<script type="text/javascript" src="__STATIC__/js/ajaxpingrun.js"></script>
		<title>{$artInfo.title}</title>
		<meta name="keywords" content="{$artInfo.keywords}">
		<meta name="description" content="{$artInfo.description}">
		<include file="__TEMPLATE__/head" />
		<!-- 顶部最新消息区域结束 -->
		<!-- 主体区域 -->
		<div id="page_main">
			<include file="__TEMPLATE__/right" />
			<!-- 左侧 -->
			<div class="left">
				<h1><a href="">{$artInfo.title}</a></h1>
				<!-- 文章信息 -->
				<div class="article_info_box">
					<p class="article_info">
						<span class="padding_right">发表时间:{$artInfo.sendtime|date:'m-d H:i:s',@@}</span> 分类：
						<a href="__MODULE__/list/cid/{$artInfo.category.cid}" class="padding_right">{$artInfo.category.cname}</a>
						<a href="" class="padding_right comment">{$artInfo.commentcount}条评论</a>
						<span id="click">{$artInfo.click}</span>次浏览
					</p>
				</div>
				<!-- 文章信息结束 -->

				<!-- 文章内容区域 -->
				<div class="article_content">
					{$artInfo.content}
				</div>
				<!-- 文章内容区域结束 -->

				<p class="position">当前位置：<a href="__MODULE__/list/cid/{$artInfo.category.cid}">{$artInfo.category.cname}</a> » <a href="">{$artInfo.title}</a>
				</p>
				<p class="tags">
					继续浏览有关
					<!-- //标签 -->
					<foreach from="$artInfo['tags']" key="$key" value="$val">
						<a href="">{$val.tagname}</a>
					</foreach>
					的文章</p>
				<!-- 相关文章 -->
				<ul id="msg_list" class="msg_list">
					<p id="loading">
						<img src="__TEMPLATE__/images/loading.gif" style='width:50px;height:50px;'>
					</p>
					<div>
						评论：
						<ul class="comment-ul">
							<foreach from="$comment" key="$key" value="$v">
							<li style="padding:10px;">
								<strong style="margin:0 10px;font-size:18px;">{$v.username}: </strong>
								<span style="font-size:18px;">{$v.comcon}</span> 
								<span style="font-size:13px;color:#999;float:right">{$v.addtime|date:"Y-m-d",@@}</span>
							</li>
							</foreach>
						</ul>
					</div>
				</ul>
				<div id="comment-form-box" style="display:none;">
						<form id="commentForm" action="{|U:'Index/details/comment'}" method="post">
							<input type="hidden" name="article_aid" value="{$hd.get.aid}" />
							<textarea id="comment_content" name="comcon"></textarea>
							<input class='submit' type="submit" value="发表评论">
						</form>
					</div>
				
				<!-- 主体区域结束 -->
				<!-- 底部浅灰色导航区域 -->
				<include file="__TEMPLATE__/foot" />